package com.whuan.zuul.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.netflix.zuul.filters.ZuulProperties;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ZuulConfig {
    @Autowired
    private ZuulProperties zuulProperties;

    public void print(){
        log.info("Routes:{}",zuulProperties.getRoutes());
    }
}
